package com.tbit.uqbike.center.service.impl;

import com.tbit.uqbike.center.dao.core.BatteryModelDao;
import com.tbit.uqbike.center.pojo.BatteryModel;
import com.tbit.uqbike.center.service.BatteryModelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("batteryModelService")
public class BatteryModelServiceImpl implements BatteryModelService {
    @Autowired
    private BatteryModelDao batteryModelDao;

    @Override
    public List<BatteryModel> getAll() {
        return batteryModelDao.getAll();
    }

}  